package com.hzdl.hotel.service;

import com.github.pagehelper.PageInfo;
import com.hzdl.hotel.bean.Administer;
import com.hzdl.hotel.bean.Check;
import com.hzdl.hotel.bean.Role;
import com.hzdl.hotel.vo.AdministerVo;

import java.util.List;
import java.util.Map;

public interface AdministerService {
    Administer findAdministerByWhere(AdministerVo administerVo);
    List<Check> findCheck();
    PageInfo findAdministerByWhere1(AdministerVo administerVo);
    int addAdminister(AdministerVo administerVo);
    int deleteAdminister(Integer aId);
    int updateAdminister(AdministerVo administerVo);
    List<Map<String,Object>> findRole(Integer id);
    int updateRoleAdmin(AdministerVo administerVo);
    int deleteRoleByAId(Integer id);

}
